← Back to issue list

snapcraft npm doesn't respect npm-node-version

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1955887
Type
issue
State
open
Author
~nanu
Labels
snapcraft
Created
2021-12-28 08:36:53.201262+00:00
Updated
2021-12-28 08:42:49.110710+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I have this code and it always tells me v10.19.0. That's bad because vue cli needs a more recent version: ``` You are using Node v10.19.0, but vue-cli-service requires Node ^12.0.0 || >= 14.0.0. Please upgrade your Node version. ``` ``` axolotl-web: plugin: npm source: ./axolotl-web npm-node-version: 14.13.0 override-build: | # Due to the confinement this runs as root, and then we need this config nodejs --version npm config set unsafe-perm true npm ci npm run build mkdir -p ../install/bin cp -r dist ../install/bin/axolotl-web stage: - bin/axolotl-web ```

Evaluation history

No evaluation history available.